package com.xbongbong.pay.platform.wechatpay.pojo.request;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 查询单笔退款
 * @author 魏荣杰
 * @date 2021/2/2 16:18
 * @since
 * @version
 */
@Setter
@Getter
public class WeChatQueryRefundRequest extends WeChatBaseRequest{
    private static final long serialVersionUID = 698525554010866633L;

    /**
     * 商户系统内部的退款单号，商户系统内部唯一，只能是数字、大小写字母_-|*@ ，同一退款单号多次请求只退一笔。
     * 示例值：1217752501201407033233368018
     */
    @NotNull
    @Size(min = 1, max = 64)
    @JSONField(name = "out_refund_no", serialize = false)
    private String outRefundNo;
}
